home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_1 / executive_v1.00 / sysinfo.lzx / examples / uptime / defs.h next >
C/C++ Source or Header  |  1990-11-29  |  772b  |  49 lines

  1. /*
  2.  * This file is public domain.
  3.  *
  4.  * Author: Petri Nordlund <petrin@mits.mdata.fi>
  5.  *
  6.  * $Id: defs.h 1.2 1995/07/19 19:51:02 petrin Exp petrin $
  7.  *
  8.  */
  9.  
  10. /* EXEC/TYPES.H */
  11. #include <exec/types.h>
  12.  
  13.  
  14. /* SYSTEM */
  15. #include <exec/memory.h>
  16. #include <exec/ports.h>
  17. #include <exec/execbase.h>
  18. #include <exec/tasks.h>
  19. #include <dos/dos.h>
  20.  
  21.  
  22. #ifdef USE_MULTIUSER
  23. #include <libraries/multiuser.h>
  24. #endif
  25.  
  26.  
  27. /* PROTOS */
  28. #include <proto/exec.h>
  29. #ifdef USE_MULTIUSER
  30. #include <proto/multiuser.h>
  31. #endif
  32. #include <proto/dos.h>
  33. #include <proto/utility.h>
  34.  
  35.  
  36. /* ANSI C */
  37. #include <stdio.h>
  38. #include <string.h>
  39. #include <stdlib.h>
  40.  
  41.  
  42. /* General macros */
  43. #ifndef max
  44. #define   max(a,b)    ((a) > (b) ? (a) : (b))
  45. #endif
  46. #ifndef min
  47. #define   min(a,b)    ((a) <= (b) ? (a) : (b))
  48. #endif
  49.